package com.online.dao;

import com.online.entity.Answer;
import org.apache.ibatis.annotations.Param;

public interface AnswerMapper {

    int addAnswer(Answer answer);

    Answer selectAnswer(@Param("answerType") Integer answerType, @Param("questionId") Integer questionId);

    int deleteAnswer(@Param("questionId") Integer questionId,@Param("answerType") Integer answerType);
}
